package com.lulufind.lulu.model;

public class Label {
	private int labelId;
	private String labelName;
	private String labelColor;
	private int labelType;
	public int getLabelId() {
		return labelId;
	}
	public void setLabelId(int labelId) {
		this.labelId = labelId;
	}
	public String getLabelName() {
		return labelName;
	}
	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}
	public String getLabelColor() {
		return labelColor;
	}
	public void setLabelColor(String labelColor) {
		this.labelColor = labelColor;
	}
	public int getLabelType() {
		return labelType;
	}
	public void setLabelType(int labelType) {
		this.labelType = labelType;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result =17;
		result = result * prime + labelId;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if(this == obj)
			return true;
		if(getClass() != obj.getClass())
			return false;
		
		Label label = (Label)obj;
		if(this.getLabelId() == label.getLabelId())
			return true;
		else
			return false;
	}
	
}
